<template>
  <Module :cfg="moduleCfg">
    <SmallTable :data="data" :cfg="tableCfg"></SmallTable>
  </Module>
</template>

<script>
import Module from 'comp/common/Module';
import SmallTable from 'comp/common/SmallTable';

export default {
  name: "CenterCarsInfo",
  components: {
    Module,
    SmallTable
  },
  props: ['data'],
  data() {
    return {
      moduleCfg: {
        icon: WebCfg.icons.centerCarsInfo,
        title: `养护作业车辆`
      },
      tableData: [],
      tableCfg: [
        {
          label: '分中心',
          prop: 'center',
          width: 100
        },
        {
          label: '车辆',
          prop: 'cars'
        }
      ]
    }
  }
}
</script>

<style scoped>
</style>
